package com.dhcc.cdc.busi.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.dhcc.core.framework.base.entity.DataEntity;


/**
 * 检验组套
 * 
 * @ClassName: LabSetEntity
 * @Description: TODO
 * @author jumper
 * @date 2021-04-26 16:21:40
 */
@TableName("t_cdc_bs_lab_set") 
public class CdcLabSetEntity extends DataEntity<CdcLabSetEntity> {
	private static final long serialVersionUID = 1L;
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	
	//标本送检记录
	private Long labVisitId;	
	//医嘱执行记录
	private Long orderExecId;
    @TableField(exist = false)
    private CdcOrdexecEntity ordExec;
	//检验医嘱
	private Long ctLabOrderId;	
    @TableField(exist = false)
    private CdcLabOrderEntity orderLab;
	//是否有效
	private Integer isActive;	
	//合管检验医嘱代码，多条用英文逗号分隔
	private String mergeLabOrder;
	//是否生成检验医嘱与检验项目的对应关系
	private Integer isSync;

	/**
	 * 设置：标本送检记录
	 */
	public void setLabVisitId(Long labVisitId) {
		this.labVisitId = labVisitId;
	}
	/**
	 * 获取：标本送检记录
	 */
	public Long getLabVisitId() {
		return labVisitId;
	}

	public Long getOrderExecId() {
		return orderExecId;
	}

	public void setOrderExecId(Long orderExecId) {
		this.orderExecId = orderExecId;
	}

	/**
	 * 设置：检验医嘱
	 */
	public void setCtLabOrderId(Long ctLabOrderId) {
		this.ctLabOrderId = ctLabOrderId;
	}
	/**
	 * 获取：检验医嘱
	 */
	public Long getCtLabOrderId() {
		return ctLabOrderId;
	}
	/**
	 * 设置：是否有效
	 */
	public void setIsActive(Integer isActive) {
		this.isActive = isActive;
	}
	/**
	 * 获取：是否有效
	 */
	public Integer getIsActive() {
		return isActive;
	}
	/**
	 * 设置：合管检验医嘱代码，多条用英文逗号分隔
	 */
	public void setMergeLabOrder(String mergeLabOrder) {
		this.mergeLabOrder = mergeLabOrder;
	}
	/**
	 * 获取：合管检验医嘱代码，多条用英文逗号分隔
	 */
	public String getMergeLabOrder() {
		return mergeLabOrder;
	}
    public CdcOrdexecEntity getOrderExec() {
        return ordExec;
    }
    public void setOrderExec(CdcOrdexecEntity ordExec) {
        this.ordExec = ordExec;
    }
    public CdcLabOrderEntity getOrderLab() {
        return orderLab;
    }
    public void setOrderLab(CdcLabOrderEntity orderLab) {
        this.orderLab = orderLab;
    }

	public Integer getIsSync() {
		return isSync;
	}

	public void setIsSync(Integer isSync) {
		this.isSync = isSync;
	}
}
